package lab02.test10;

import java.security.PublicKey;

/**
 * Created by lenovo on 2017/10/20.
 */
public class ChinaPeople extends People {
    String idnumber;
    int age;

    public ChinaPeople(String name, String sex, double height, double weight, String idnumber, int age) {
        super(name, sex, height, weight);
        this.age = age;
        this.idnumber = idnumber;
    }

    public ChinaPeople() {
    }

    @Override
    public void think() {
        //  super.think();
        System.out.println("like thinking!");
    }

    @Override
    public void study() {
        //  super.study();
        System.out.println("High school students study very hard");
    }

    public void eat() {
        System.out.println("Eat dumplings ");
    }


}
